第 11 步:让我们通过显示隐藏列表中的字母来向用户展示他们猜对了!
- 将Set Value at Index拖到 if 块内的下一行。这将显示一个正确的字母!
- my_list更改为hidden_list ,将0更改为letter_index ,并将my_var为letter_guess 。
- 从,拖入Update Display 。将 my_display 更改为my_display hidden_display并将my_var更改为hidden_list 。点击运行并输入一个单词。猜一个正确的字母!你看到这封信是如何揭开的吗?
To navigate the page using the TAB key, first press ESC to exit the code editor.